package com.zzq.my.jetpacks.jectpackapp.intercept

import androidx.annotation.CallSuper

/*
  * ================================================
  * 描述：定义一个拦截器的基类
  * 作者：zhuangzeqin
  * 时间: 2023/6/9 14:24
  * 邮箱：zzq@eeepay.cn
  * 备注:
  * ----------------------------------------------------------------
  * You never know what you can do until you try !
  *      _              _           _     _   ____  _             _ _
  *     / \   _ __   __| |_ __ ___ (_) __| | / ___|| |_ _   _  __| (_) ___
  *    / _ \ | '_ \ / _` | '__/ _ \| |/ _` | \___ \| __| | | |/ _` | |/ _ \
  *   / ___ \| | | | (_| | | | (_) | | (_| |  ___) | |_| |_| | (_| | | (_) |
  *  /_/   \_\_| |_|\__,_|_|  \___/|_|\__,_| |____/ \__|\__,_|\__,_|_|\___/
  *
  * 签名：最痛苦的事不是我失败了，而是我本可以.--zzq
  * ----------------------------------------------------------------
  * ================================================
  */
abstract class BaseInterceptImpl:Interceptor {
    protected var mChain: InterceptChain? = null
    @CallSuper
    override fun intercept(chain: InterceptChain) {
        this.mChain  = chain
    }
}